//
//  ImageAddPreView.h
//  TestAPP
//
//  Created by yangyong on 14-6-3.
//  Copyright (c) 2014年 gainline. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JSImageEditView.h"
#import "JSCircleButton.h"
@class PGJSImageItem;
@protocol  ImageAddPreViewDelegate;
@interface JSImageAddPreView : UIView<ImageEditViewDelegate>

@property (nonatomic, strong) UILabel           *selectBeforeLab;
//@property (nonatomic, strong) UILabel           *selectNumLab;
//@property (nonatomic, strong) UILabel           *selectafterLab;

@property (nonatomic, strong) JSCircleButton          *startPintuButton;
//@property (nonatomic, strong) NSArray           *imageArray;
@property (nonatomic, strong) UIScrollView      *contentView;
@property (nonatomic, weak)   id<ImageAddPreViewDelegate> delegateSelectImage;
@property (nonatomic, strong) NSMutableArray    *imageassets;
@property (nonatomic, strong) NSMutableArray    *imageEditViewArray;
@property (nonatomic, strong) UILabel           *countLabel;
@property (nonatomic, strong) UIView            *speratorView;
- (void)addImageWith:(ALAsset *)asset;
- (void)reMoveAllResource;
- (void)addImageWithImageItem:(PGJSImageItem*)imageItem;
+ (void)show;
+ (void)hide;
@end


@protocol  ImageAddPreViewDelegate <NSObject>

- (void)startPintuAction:(JSImageAddPreView *)sender;

@end